<template>
  <is-login :user="user" v-if="isToken"></is-login>
  <not-login v-if="!isToken"></not-login>
</template>

<script setup lang="ts">
import {getToken} from "@/utils/application";
import {defineProps} from "vue";
const isToken = getToken()
const props = defineProps(["user"])

</script>

<style scoped>

</style>
